<form class="pure-form pure-form-stacked">
	<div class="pure-g">
		<!--<div class="pure-u-1-2">-->
			<!--<label>Search: </label>-->
			<!--<input type="text" class="pure-u-1-1" ng-model="queryVal" />-->
		<!--</div>-->
		<!--<div class="pure-u-1-2">-->
			<!--<label>Order by: </label>-->
			<!--<select class="pure-u-1-1" ng-model="orderProp">-->
				<!--<option value="-votes">票数</option>-->
				<!--<option value="name">姓名</option>-->
			<!--</select>-->
		<!--</div>-->
	</div>
</form>

<div class="pure-g" style="margin-top:-25px;">
	<div class="pure-u-1-1">
		<p>
			<a href="#/offer/add" class="pure-button pure-button-primary">新增offer</a>
		</p>
		<table class="pure-table pure-table-horizontal">
			<thead>
				<tr>
					<th></th>
					<th>offerid</th>
					<th>pkgName</th>
					<th>offerName</th>


					<th>countries</th>
					<th>description</th>
					<th>os</th>
					<th>creatives</th>
					<th>accessPrice</th>
					<th>previewurl</th>
					<th>clkurl</th>
					<th>操作</th>
				</tr>
			</thead>
			<tbody>
				<!--<tr ng-repeat="offer in offers | filter:queryVal | orderBy:orderProp">-->
                <tr dir-paginate="offer in offers | itemsPerPage: pageSize track by offer.id" current-page="currentPage" total-items="total">
                <!--<tr dir-paginate="report in vm.c2cMatchOrderReportList | itemsPerPage: vm.pageSize track by report.match.id" current-page="vm.currentPage" total-items="vm.total">-->
                    <td><img ng-src="{{offer.icon}}" class="pure-img" /></td>
					<td><a href="#/offer/edit/{{offer.id}}">{{offer.id}}</a></td>
					<td>{{offer.pkgName}}</td>
					<td>{{offer.offerName}}</td>


					<td>{{offer.countries}}</td>
					<td>{{offer.description}}</td>
					<td>{{offer.os}}</td>
					<td>{{offer.creatives}}</td>
					<td>{{offer.accessPrice}}</td>
					<td>{{offer.previewurl}}</td>
					<td>{{offer.clkurl}}</td>
					<td>
						<a href="#/offer/edit/{{offer.id}}">编辑</a>
						<a href="#" ng-click="removePlayer($event, player.id)">删除</a>
					</td>
				</tr>
			</tbody>
		</table>

		<!-- paging -->
        <dir-pagination-controls on-page-change="onPageChanged(newPageNumber)">

        </dir-pagination-controls>
	</div>
</div>